/*
 * @Author       : Bing Chen chenbing@iocharger.com
 * @Date         : 2024-05-20 17:13:59
 * @LastEditors  : Bing Chen chenbing@iocharger.com
 * @LastEditTime : 2025-03-15 12:48:42
 * @FilePath     : \openchaoji-corelib\secc\gbt27930\OpenChaoJi_secc_gbt27930_b.h
 * @Description  : 本文件声明SECC B类系统上下文基本处理方法
 *
 * Copyright (c) 2025 OpenChaoJi
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the icense for the specific language governing permissions and
 * limitations under the License.
 *
 */

#ifndef __OPEN_CHAOJI_SECC_GBT27930_B_H__
#define __OPEN_CHAOJI_SECC_GBT27930_B_H__

#include "../../shared/include/OpenChaoJi_shared.h"

#include "./OpenChaoJi_secc_hal.h"

#include "../utility/OpenChaoJi_secc_utility_linkage.h"
#include "../utility/OpenChaoJi_secc_utility_pilot.h"
#include "../utility/OpenChaoJi_secc_utility_session.h"

#include "./OpenChaoJi_secc_gbt27930_def.h"

/**
 * @brief 系统B的实时运行数据
*/
struct OpenChaoJi_secc_gbt27930_b_data;



/**
 * @brief: 创建B类系统并关联到指定上下文
 * @param {OpenChaoJi_secc_context *} context 系统上下文指针
 * @return 成功返回0, 失败返回-1
 */
int OpenChaoJi_secc_create_system_gbt27930_b(struct OpenChaoJi_secc_context * context);

/**
 * @brief: 销毁系统上下文中system相关
 * @param {OpenChaoJi_secc_context *} context 系统上下文指针
 * @return {*}
 */
void OpenChaoJi_secc_destory_system_gbt27930_b(struct OpenChaoJi_secc_context * context);

#endif
